-- GENERATED SPELL FOR [Ravening Apparition] --


function spell0_16327(pUnit, Event) --@Expose Weakness,n/a--
pUnit:FullCastSpellOnTarget(7140,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16327', 5000, 1)
end

function Sorts_16327(pUnit, Event)
local choix_sorts_16327 = math.random(0, 0)
if choix_sorts_16327 == 0 then
pUnit:RegisterEvent('spell0_16327', 1, 1)
end
end

function mob16327_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16327', math.random(1500, 3000), 1)
end

function mob16327_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16327_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16327_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16327, 1, 'mob16327_Action')
RegisterUnitEvent(16327, 2, 'mob16327_Leave')
RegisterUnitEvent(16327, 3, 'mob16327_Kill')
RegisterUnitEvent(16327, 4, 'mob16327_Die')
